package com.mwk.music.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author mwk
 * @since 2023-12-22
 */
public class Rank implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 歌单id
     */
    private Integer songList;

    /**
     * 用户id
     */
    private Integer consumerId;

    /**
     * 得分
     */
    private Integer score;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getSongList() {
        return songList;
    }

    public void setSongList(Integer songList) {
        this.songList = songList;
    }

    public Integer getConsumerId() {
        return consumerId;
    }

    public void setConsumerId(Integer consumerId) {
        this.consumerId = consumerId;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    @Override
    public String toString() {
        return "Rank{" +
            "id = " + id +
            ", songList = " + songList +
            ", consumerId = " + consumerId +
            ", score = " + score +
        "}";
    }
}
